package com.zjp.mg.core;

import org.springframework.data.mongodb.core.MongoTemplate;

// 普通
public class OrdinaryDynamicMongoDBDataBaseImpl implements DynamicMongoDBDataBase {


    private MongoTemplate mongoTemplate;

    public OrdinaryDynamicMongoDBDataBaseImpl(MongoTemplate mongoTemplate) {
        this.mongoTemplate = mongoTemplate;
    }

    @Override
    public MongoTemplate getMongo() {
        return this.mongoTemplate;
    }
}
